﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">模块添加</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>

                                                 <li><a href="index.php?app=module&act=index"  target="mainframe">模块列表</a></li>
<li class="current"><a href="#" >模块添加</a></li>
  			
			
			
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">

	
<form action="?app=module&act=addpost" method="post" >

<table  class="data" >
<tbody><tr>
	<td width="30%">模块名称:<br><span class="gray">使用汉字，且用来在后台使用</span></td>
	<td><input type="text" maxlength="50" size="50" value="" name="data[name]"></td>
</tr>
<tr>
	<td>模块APP名:<br><span class="gray">使用英文字母</span></td>
	<td><input type="text" maxlength="20"  size="30" name="data[appname]" value=""></td>
</tr>

<tr>
	<td>模块别名:<br><span class="gray">使用汉字，且用来在前台使用</span></td>
	<td><input type="text" maxlength="20"  size="30" name="data[alias]"></td>
</tr>
<tr>
	<td>模板关键字:<br><span class="gray">使用英文字母，且名称与模块APP名相同</span></td>
	<td><input type="text" maxlength="30"  size="30" name="data[keywords]"></td>
</tr>

<tr>
	<td>模块的模板:</td>
	<td>
    	                                 <select name="data[viewname]" >
 		                                       <option  value="">请选择...</option>                                        
                                          <?php foreach((array)$viewdata as $_key => $_value1 ) { ?>                                        
		                                       <option  value="{$_value1}">{$_value1}</option>                                       
		                                   <?php } ?>
	                                     </select>		
	</td>
</tr>

<tr>
	<td>排序:</td>
	<td><input type="text" maxlength="3"  size="3" name="data[sort]"></td>
</tr>
<tr>
	<td>&nbsp;</td>
	<td><input type="submit" value=" 提 交 " class="buton"></td>
</tr>
</tbody></table>
</form>                                 
                                 
 	

		

        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span></div>
    </div>
</div>
<!--{inc(footer.view.html)}-->